<?php

namespace Database\Seeders;

use App\Models\Email;
use Illuminate\Database\Seeder;

class EmailSeeder extends Seeder
{
  /**
   * Run the database seeds.
   */
  public function run()
  {
    // Francisco Ramones
    $firstEmail = new Email();
    $firstEmail->user_id = 1;
    $firstEmail->type_id = 8;
    $firstEmail->email = 'francisco.ramon@starlab.com';
    $firstEmail->save();

    // Barry Allen
    $secondEmail = new Email();
    $secondEmail->user_id = 2;
    $secondEmail->type_id = 9;
    $secondEmail->email = 'barry.allen@ccpd.com';
    $secondEmail->save();

    // Citizien
    $thirdEmail = new Email();
    $thirdEmail->user_id = 3;
    $thirdEmail->type_id = 10;
    $thirdEmail->email = 'wally.west@starlab.com';
    $thirdEmail->save();
  }
}
